package com.gtw.modules.sys.service.impl;

import com.gtw.modules.sys.service.SysMemberScaleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.gtw.modules.dao.MemberScaleDao;
import com.gtw.modules.entity.MemberScaleEntity;



@Service
public class SysMemberScaleServiceImpl implements SysMemberScaleService {
	@Autowired
	private MemberScaleDao memberScaleDao;
	
	@Override
	public MemberScaleEntity queryObject(Integer id){
		return memberScaleDao.queryObject(id);
	}
	
	@Override
	public List<MemberScaleEntity> queryList(Map<String, Object> map){
		return memberScaleDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return memberScaleDao.queryTotal(map);
	}
	
	@Override
	public void save(MemberScaleEntity memberScale){
		memberScaleDao.save(memberScale);
	}
	
	@Override
	public void update(MemberScaleEntity memberScale){
		memberScaleDao.update(memberScale);
	}
	
	@Override
	public void delete(Integer id){
		memberScaleDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		memberScaleDao.deleteBatch(ids);
	}
	
}
